<?php

namespace App\Controller\Access;


use App\Controller\BaseController;
use App\Services\Access\SessionService;
use Hyperf\Di\Annotation\Inject;

class SessionController extends BaseController
{
    #[Inject]
    public SessionService $sessionServer;

    /**
     * Note - 客户端开启访问接口,APP初始化
     * DateTime 2024/7/18 17:39
     * User Admin
     */
    public function session()
    {
        $param = $this->request->post();
        $result = $this->sessionServer->session($param);
        return $this->return($result);
    }


}